package com.letoo.sso.dataaccess.dao.db;

import com.letoo.sso.dataaccess.datasource.DbRepository;
import com.letoo.sso.dataaccess.domain.dbo.NewUserDO;
import org.apache.ibatis.annotations.Param;

/**
 * 新用户注册表DAO
 *
 * @author dengjie
 */
@DbRepository
public interface NewUserDBDAO extends BaseDBDAO<NewUserDO> {

    public NewUserDO queryNewUserByUserId(@Param("userId") long userId);

    public int updateIsFirstRegistrationByUserId(@Param("userId") long userId);

    public int updateIsFinishPutawayGuidanceByUserId(@Param("userId") long userId);
}
